The phrase "to stain the cells" means coloring or marking cells in a way that makes them easier to see under a microscope.